h1 {
    font-style: normal;
    font-weight: normal;
}

em {
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
}

$fontColor:#2B2B2B;

html,
body {
    height: 100%;
}

.header {
    height: 0.88rem;
    background: #FED946;
    align-items: center;
    display: flex;
    padding: 0 0.24rem;
    justify-content: space-between;
    div {
        width: 6rem;
        height: 0.6rem;
        background: #fff;
        border-radius: 0.2rem;
        display: flex;
        align-items: center;
        border: none;
        overflow: hidden;
        input{
            width: 5.72rem;
            height: 0.6rem;
            border-radius: 0.2rem;
            border-color: transparent;
            outline: none;
            font-size: 0.3rem;
            color: #8E8E93;

        }
        .iconfont{
            font-size: 0.28rem;
            color: #8E8E93
        }
        span{
            border: none;
        }
    }
    >.iconfont{
        font-size: 0.33rem;

    }
}
section{
    flex: 1;
    overflow: auto;
}
.section-top{
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-around;
    height: 1.94rem;

    figure{
        margin-top: 0.38rem;
        height: 1.25rem;
        text-align: center;
        font-size: 0.26rem;
        color: $fontColor;
        span{
            display: block;
        }
        .iconfont{
            font-size: 0.6rem
        }
        figcaption{
            width: 1.04rem;
            height: 0.36rem;
            line-height: 0.36rem;
            margin-top: 0.14rem
        }
    }
}
h2{
    height: 0.5rem;
    font-size: 0.36rem;
    margin-left: 0.24rem;
    width: 1.08rem;
    color: $fontColor;
    line-height: 0.5rem;
    text-align: center；
}
$border6:(0.02rem solid rgba(232,232,232,1));
.before-decoration,.decoration-ing{
    font-size: 0.22rem;
    width: 6.96rem;
    height: 3.28rem;
    margin: 0.22rem 0.24rem;
    color: $fontColor;
    border: $border6;
    figure{
        width:2.27rem ;
        height: 1.65rem;
        border-left: $border6;
        float: left;
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        &:nth-of-type(1){
            border-bottom: $border6;
        }
        &:nth-of-type(2){
            border-bottom: $border6;
        }
        &:nth-of-type(3){
            border-bottom: $border6;
        }
        .iconfont{
            font-size: 0.44rem
        }
        figcaption{
            width: 0.88rem;
            height: 0.32rem;
            line-height: 0.32rem;
            margin: 0 auto;
            margin-top: 0.22rem;
        }
        

    }
    
}
.h2{
    margin-top: 0.1rem;
}
.last-figure{
    border: none;
    border: $border6;
    border-top: none;
}






footer{
    height: 0.98rem;
    background: #fff;
    color: #474747;
    display: flex;
    justify-content: space-around;
    figure{
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 0.24rem;
        justify-content: space-around;
        padding: 0.15rem 0;
        .iconfont{
            font-size: 0.40rem;
        }


        &:nth-of-type(3){
            span{
                height: 0.56rem;
                width: 0.68rem;
                background: #FED946;
                color: #333333;
                text-align: center;
                line-height: 0.56rem;
                margin-top: 0.12rem;
                border-radius: 0.1rem;
            }
        }
    }
}
.active{
    color: #FED946;
}